package com.zhuoyue.system.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.zhuoyue.common.annotation.Excel;
import com.zhuoyue.common.core.domain.BaseEntity;

/**
 * 多联多控对象 tbl_joint_control_relation
 *
 * @author zyzn
 * @date 2021-09-24
 */
@Data
public class JointControlRelation extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private String id;

    private String account;

    /**
     * 开始设备ID
     */

    private String startDeviceId;

    /**
     * 结束设备ID
     */

    private String endDeviceId;

    /**
     * 网关ID
     */

    private String gatewayId;

    /**
     * 开始设备MAC
     */

    private String startDeviceMac;

    /**
     * 结束设备MAC
     */

    private String endDeviceMac;

    /**
     * 联控的编号
     */

    private Long indexId;

    /**
     * 主设备的第几路
     */

    private Integer startDeviceNum;

    /**
     * 被绑定设备的第几路
     */

    private Integer endDeviceNum;

    /**
     * 修改时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date modifyTime;


    private Long deptId;
    private String deviceName;
    private String gatewayMac;
    private String deviceNameOrMac;
}
